<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
         a{
             text-decoration: none;
             color: red;
         }
        .wwww{
            margin-top: 8px;
            margin-left: 159px;
            color: red;
            font-weight: bold;
        }
        .ssss{
            margin-top: -42px;
            margin-left: 397px;
            color: red;
            font-weight: bold;
        }
        .eeee{
            margin-top: -24px;
            margin-left: 550px;
        }
    </style>
</head>
<body>
 <center>
<table border="0" cellspacing="0" th:width="600" th:height="300">
    <tr>
        <th>名称</th>
        <th>描述</th>
        <th>价格</th>
        <th>数量</th>
        <th>合计</th>
        <th>操作</th>
    </tr>
    <tr  th:each="ex:${cartlist}" th:align="center">
        <td th:text="${ex.name}"></td>
        <td th:text="${ex.describe}"></td>
        <td th:text="${ex.price}"></td>
        <td th:text="${ex.count}"></td>
        <td th:text="${ex.price*ex.count}"></td>
        <td><a href="">删除</a></td>
    </tr>


</table>
     <div class="wwww">
         已有<span th:text="${godss.totalcount}"></span>件商品

     </div>
     <br>
     <div class="ssss">
         总价<span  th:text="${godss.totalprice}"></span>元
     </div>
     <div class="eeee">
           <button>去结算</button>
     </div>
 </center>

</body>
</html>